package com.csdj.t309.geamtest.service;

import com.csdj.t309.geamtest.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 田港
 * @since 2022-01-01
 */
public interface IUserService extends IService<User> {

    User login(String email, String password);

    Integer addUser(String email,String password,String inviteCode,Integer id);

    boolean emailTesting(String email);

    String updeteyouqin(Integer id);

    Integer updateTuPian(User user);

    Integer updatename(User user);

    User seltupian(Integer id);

    User selpassword(String email);
}
